version: '2'
services:
  eurekaserver1:
    image: amosgavin/eurekacluster:0.0.1
    ports:
      - "8901:8900"
    environment:
      - spring.profiles.active=test_ha_1

  eurekaserver2:
    image: amosgavin/eurekacluster:0.0.1
    #hostname: eurekaserver2
    ports:
      - "8902:8900"
    environment:
      - spring.profiles.active=test_ha_2